Fixed namespaced enums related error