Make Path independent of Edge.