Removing unnecessary packages