Removing unnecessary packages.