Added canRedo/canUndo