Remaking table generation.