Add cache dependency.