support fields in deftype