Getting rid of unneeded packages