Add dependence for scan.