Made string TypeEnums work properly