Normalize packages.