Fixed issues related to namespaced enums