Simplified the SimpleTemperature class.