Removed ref to graph as it is a singleton