Removing unecessary enum type.