Factoring table code.