Put embedded code and data in the right memory.
Recent revisions are kept. Restoring one creates a new revision.