Cleanup old graph impl.