Classifier as an argument