making ClassifierFactory reference type