Added ability to instantiate enum objects