Made AbstractSensor easier to use