Tidying up package dependencies.