SetField: check type instead of kind.