Adapt to namespaced enums