Fix a couple of bugs and make Table data type take a parameter