Fill in ref to table.