Allow specification of the energy type.