Adding accessor functions for cGraph.