Keep stateful code clear with domain models.
Recent revisions are kept. Restoring one creates a new revision.