Fix deprecation of set_table_name