Made simple example MyDetector.