Not sure how feasible this is yet. Sometimes, we retrieve an edge and have an edge object. We then wish to replace, remove or update this edge. It is a bit cumbersome trying to get the `$edgeId` to pass it to the replace, remove and update edge functions. Perhaps we can allow passing in the edge object as well and have the function grab the `edgeId` form the edge object.