Table to class

We wont need this, as it is only being used in the Table class.