Added support for temperature.