Supporting enum types

#34