Cleanup the manifest.