Handle parsing enums
Merge pull request #59 from alex/parse-enum

Handle parsing enums