fix classifier class serialization (should be good)