Same as `generateTableHeaders`.