Use the new serializer interface.