added Serializer interface.