The class II masers of methanol are associated with the early stages of formation of high-mass stars. Modelling of these dense, dusty environments has demonstrated that pumping by infrared radiation can account for the observed masers. Collisions with other molecules in the ambient gas also play a s...