<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def register(self, name, function, description=None):
 """ Register a new thread. :param function: Function, which gets called for the new thread :type function: function :param name: Unique name of the thread for documentation purposes. :param description: Short description of the thread """

        return self.__app.threads.register(name, function, self._plugin, description)