pulling depends_on code up to the right level (machine_set)