SENSOR: Some correction on return values.