Add new Serializer trait