Implementing Enum name support

With this commit you are able to use the Enum type and Name