Serialization of classifier. There is a bug.