Minor changes to table.py