Change dependencies to ones that have no children