Added usage of Sensor.