Removed nested class Graph