Added missing error checks.
Changed CreateTable to take a table; changed Register to return Table; removed TableType from interface.