refactoring accessors .get_relation_for_set