Registers a subclass serializer in the resulting module under the base class.
Thanks for your feedback!