Move table_name block into table module.