This code wasn't here previously, and it also exists in get_default_tabs. If the tabs really need to be defined in 2 different places, a helper method could at least be defined (in common).