Graph API changes, new BFS and DFS algorithms.