Adds remove_edge and shortest path.