Replacing Manager with PackageManager.