Refactor classifiers and code.