Added canUndo/canRedo