Cleaning up multiple definitions of the edge structure.