'List of template instances managed by the detector.'

@property
def templates(self):

    if self.__templates:
        return self.__templates
    with self.__lock:
        if self.__templates:
            return self.__templates
        self._addDefaultTemplate()
        return self.__templates
