Cleanup and params for dump_table.