Delete useless Detector class.