Update for namespaced enums.
Merge pull request #8 from michaelsproul/enum-namespacing

Update for namespaced enums.