Update reference to Directed::hasDirected()