Changing signature of SensorType return also the type of value