if (helper.isPlainObject(options)) {
    helper.loopKeys(options, function(obj, key) {
      if (key !== 'overwrite') {
        throw new errors.ReqlDriverError('Unrecognized option `' + key + '` in `indexRename`',
          self._query, 'Available options are overwrite <bool>');