Removing specific references to IRelation and IListRelation.