Fix errors in GraphImpl. This one builds