Conform to new serializer interface