tenant type should use class, fixes issue with where generation