Replacing IRelation references with ISet references.