SemanticEdge now inherits from Edge, many bug fixes.