Use more generic method to learn and classify
Rename the classifier class to PreviousClassClassifier. Now it is able
to support instance with any number of class