Fix warnings: Review: aktau: Better solution for undo.