Fixed error with parseClassName

Was being called on a model instead of the serializer