Consolidate use of setrelevance in prep for refactoring.