Added ability to instantiate enum object