Removing unnecessary namespace name in definition of graph's methods.