Fixed enums scope

They weren’t accessible as they were encapsulated in a class.
Merge pull request #3 from mentatzoe/master

Fixed enums scope