docs: def cls(self):
          """
          Return the class definition for this type
          """
          # TODO: register the resulting type?
          return SmartTemplate(self.name)(", ".join(map(str, self.params)))