Namespaced enums
Merge pull request #9 from hirschenberger/master

Namespaced enums, thanks to @hirschenberger.