Make index a table.