Embodiments of the present invention provide a system and a method for attaching peripheral devices (such as collimators and electron applicators) to a system such as a radiotherapy system or radiography system. By re-using the lifting mechanism of the patient support to lift the peripheral device vertically, the invention reduces the need for heavy manual lifting.