docs: def _get_method_doc(self):
          """ Return method documentations. """
          ret = {}
          for method_name in self.methods:
              method = getattr(self, method_name, None)
              if method:
                  ret[method_name] = method.__doc__
          return ret