Minor changes to setters in Sensor