Cleaning up package dependencies