Add some flags.
Use unsaved if present.
Overwrite old value.
Add <xml tag.
Some work on completions.
Break.