I think that `contains` and `get` are a reinventing the wheel. Why not expose the `this.enums` object directly via a `getEnums` method?