Dependencies rewrite