Added task factories for open and close structure for edges.