changes to enable support for provided enums - from the sample pack