Get rid of all unnecessary dependencies