Cleans up print_tab_content methods