Changed add_tab function default parameters.