Add purpose to flatten manifest.