Changed name from detector to sensor