code: public static Model newModel(String modelPath, String unused) {
          Model m = new Model();
  
          if (!modelPath.equals("")) {
              m.loadModel(modelPath);
          }
  
          return m;
      }
docs: newModel creates a model.
  
  @param modelPath the path of the model file.
  @param unused unused parameter, just for differentiating with
  newModel(String text).
  @return the model.