Added ability to instantiate enum object
Merge pull request #267 from shenrie/master

Added ability to instantiate enum objects