Remove a method from GraphProvider that is no longer needed for tests.