Delete unnecessary dependencies