Support UnionCase and RecordField.