Often the heat sink needs to be grounded, especially if, for safety reasons, it's located on the outside of the enclosure. Internal heat sinks can be insulated from the chassis and floated at a different potential allowing direct mounting of the transistors, but stray capacitance may still be an issue at high frequencies.