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

only took 4-hours to take out two studs. I wound up grinding both sides of the stud off and drilling/hammering the remaining stuff out......what a PITA!