Rename tableName to table in Models definitions