Add purpose fields to compact manifest.