code: def functions(self):
          
          out = {}
          for key in self._func_names:
              out[key[len(self._prefix):]] = getattr(self, key)
          return out
docs: Returns a dictionary containing the functions defined in this
          object. The keys are function names (as exposed in templates)
          and the values are Python functions.