Detector class