In GroupingRelationship, renamed type to type_