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