Added dependencies DAG class.