Removes custom_serialization class,  serialize