how the hell do you remove Master cylinder studs!?!?

Go inside, and cut off the heads, then smack them?