Refactor internal APIs without legacy layers.
Recent revisions are kept. Restoring one creates a new revision.