Added undoMove.