code: function options(Class, hash) {
    var opts;
    var type = { type: Class._usergrid.type };
    if (hash) {
      opts = _.assign({}, hash, type);
    } else {
      opts = type;
    }
    return opts;
  }
docs: utility methods clones hash and adds type for usergrid context