<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def cls(self):
 """ Return the class definition for this type """

        # TODO: register the resulting type?
        return SmartTemplate(self.name)(", ".join(map(str, self.params)))