Removing some unimportant method calls from the graph.