The dictionary building now updates the code property in TableItem