Removes useless depends