docs: def get_api(self):
          """
          This method returns the class name and a list of exposed methods.
          It is exposed to RPC-clients by an instance of ExposedObjectCollection.
  
          :return: A dictionary describing the exposed API (consisting of a class name and methods).
          """
          return {'class': type(self._object).__name__, 'methods': list(self._function_map.keys())}