Provide `#as_enum` method on respresentations