The studs are pressed into the hub, the drum is slipped over them, then a special die is used to stake the drum to the hub by expanding a small portion of the stud. To remove the drum, there is a special cutter that is normally used to cut the expanded part of the stud away, but sometimes they can simply be pressed back out. The downside is that simply pressing them sometimes damages the knurling that holds the stud.