Allow tweaking of rootDepends in transitive resolve.