Refactoring TemperatureDataPoint to be a more generic DataPoint.