automatically detect field type
remove getTypeClass from default field types