Get rid of all except lib itself