Add undo() and move_relative() commands.