code: def class_extensions():
      @property
      def aggregated_frame(self):
          if (
              self._model_json is not None
              and self._model_json.get("output", {})
              .get("output_frame", {})
              .get("name")
              is not None
          ):
              out_frame_name = self._model_json["output"][
                  "output_frame"
              ]["name"]
              return H2OFrame.get_frame(out_frame_name)
  
      @property
      def mapping_frame(self):
          if self._model_json is None:
              return None
          mj = self._model_json
          if (
              mj.get("output", {}).get("mapping_frame", {}).get("name")
              is not None
          ):
              mapping_frame_name = mj["output"]["mapping_frame"]["name"]
              return H2OFrame.get_frame(mapping_frame_name)
  
label_desc: Use image node_id 1 for calling a global function with example usage: class_extensions() and returns: H2OFrame, None, H2OFrame