Split serialization handler from serializer itself.
Removed unused interface.