Use Repository instead of Graph when doing isomorphic tests.