Expose enum serializer and deserializers.