Classfiy custom types and add EnumType to it.