Fixed circular dep with graph module.