code: function setGeom(params) {
      params.geom = {};
  
      for(var param in params) {
        if(params.hasOwnProperty(param) && geoms.indexOf(param) !== -1){
          params.geom[param] = params[param];
          delete params[param];
        }
      }
  
      setGeomAttrList(params.geom);
    }
docs: Moves the user-specified geometry parameters under the `geom` key in param for easier access