Removing depedency links as well