Add detector class and classifiers.