       origin: formulateGetPredictionsOrigin opts
       plot: "plot inspect 'Confusion Matrices', #{formulateGetPredictionsOrigin opts}"
 
-  inspectBinomialMetrics = (opts, predictions) -> ->
-    inspectionFrame = combineTables (prediction.max_criteria_and_metric_scores for prediction in predictions)
-    convertTableToFrame inspectionFrame,
-      description: "Metrics for the selected predictions"
-      origin: formulateGetPredictionsOrigin opts
-      plot: "plot inspect '#{inspectionFrame.label}', #{formulateGetPredictionsOrigin opts}"
-
-  inspectBinomialPredictions = (opts, predictions) -> ->
-    vectors = [
-      createFactor 'key', TString, (prediction.model.name + ' on ' + prediction.frame.name for prediction in predictions)
-      createFactor 'frame', TString, (prediction.frame.name for prediction in predictions)
-      createFactor 'model_category', TString, (prediction.model_category for prediction in predictions)
-      createVector 'AUC', TNumber, (prediction.AUC for prediction in predictions)
-      createVector 'Gini', TNumber, (prediction.Gini for prediction in predictions)
-      createVector 'mse', TNumber, (prediction.mse for prediction in predictions)
-      createVector 'logloss', TNumber, (prediction.logloss for prediction in predictions)
-      createVector 'duration_in_ms', TNumber, (prediction.duration_in_ms for prediction in predictions)
-      createVector 'scoring_time', TNumber, (prediction.scoring_time for prediction in predictions)
-    ]
-
-    createDataframe 'predictions', vectors, (sequence predictions.length), null,
-      description: "Prediction output for selected predictions."
-      origin: formulateGetPredictionsOrigin opts
-      plot: "plot inspect 'predictions', #{formulateGetPredictionsOrigin opts}"
-
   extendPredictions = (opts, predictions) ->
     render_ predictions, H2O.PredictsOutput, opts, predictions
-    if predictions.length
-      if (every predictions, (prediction) -> prediction.model_category is 'Binomial')
-        inspections = {}
-        inspections['Prediction' ] = inspectBinomialPredictions opts, predictions
-        inspections[ (head predictions).thresholds_and_metric_scores.name ] = inspectBinomialScores opts, predictions
-        inspections[ (head predictions).max_criteria_and_metric_scores.name ] = inspectBinomialMetrics opts, predictions
-        # inspections[ 'Confusion Matrices' ] = inspectBinomialConfusionMatrices opts, predictions
-        inspect_ predictions, inspections
-      else
-        inspect_ predictions, 
-          prediction: inspectBinomialPredictions opts, predictions
-
     predictions
-
-  inspectBinomialScores = (opts, predictions) -> ->
-    inspectionFrame = combineTables (prediction.thresholds_and_metric_scores for prediction in predictions)
-    convertTableToFrame inspectionFrame,
-      description: "Scores for the selected predictions"
-      origin: formulateGetPredictionsOrigin opts
-      plot: "plot inspect '#{inspectionFrame.label}', #{formulateGetPredictionsOrigin opts}"
-    
-  extendPrediction__obsolete = (modelKey, frameKey, prediction) ->
-    opts = { model: modelKey, frame: frameKey }
-    render_ prediction, H2O.PredictOutput, prediction
-    inspections = {}
-    switch prediction.model_category
-      when 'Regression', 'Clustering'
-        inspections.prediction = inspectRegressionPrediction prediction
-
-      when 'Multinomial'
-        inspections.prediction = inspectRegressionPrediction prediction
-        inspectMultinomialConfusionMatrix 'Confusion Matrix', prediction.cm.table, "getPrediction model: #{stringify modelKey}, frame: #{stringify frameKey}", inspections 
-      else
-        inspections[ 'Prediction' ] = inspectBinomialPrediction prediction
-        inspections[ prediction.thresholds_and_metric_scores.name ] = inspectBinomialScores opts, [ prediction ]
-        inspections[ prediction.max_criteria_and_metric_scores.name ] = inspectBinomialMetrics opts, [ prediction ]
-        # inspections[ 'Confusion Matrices' ] = inspectBinomialConfusionMatrices opts, [ prediction ]
-
-    inspect_ prediction, inspections
 
   extendPrediction = (modelKey, frameKey, prediction) ->
     inspections = {}


  extendDeletedKeys = (keys) ->
    render_ keys, H2O.DeleteObjectsOutput, keys

  extendModel__obsolete = (model) ->
    switch model.algo
      when 'kmeans'
        extendKMeansModel model
      when 'deeplearning'
        extendDeepLearningModel model
      when 'gbm', 'drf'
        extendGBMModel model
      when 'glm'
        extendGLMModel model

    render_ model, H2O.ModelOutput, model

  inspectTwoDimTable_ = (origin, table) -> ->
    convertTableToFrame table,

      description: "Parameters for model '#{model.key.name}'" #TODO frame key
      origin: "getModel #{stringify model.key.name}"

  extendJob = (job) ->
    render_ job, H2O.JobOutput, job

