Add basic support for secondary edges.