Fix failure in AnnotatedGraph.
Add edges property to IDirectedGraph.
Fix owned_objects.