Add Sensor object and functions.