Fixing warnings about set_table_name