add serializer interface