Simple undo manager without groups.