Removes unneeded packages