Fix for namespaced enums.
Merge pull request #31 from gifnksm/master

Fix for namespaced enums.