Cleanup edges.