Added SubRelation class