code: function parseCommonArgs (query, params, consistency, options, callback) {
    var args = Array.prototype.slice.call(arguments);
  
    if (args.length < 2 || typeof args[args.length-1] !== 'function') {
      throw new Error('It should contain at least 2 arguments, with the callback as the last argument.');
    }
  
    if(args.length < 5) {
      options = null;
      callback = args[args.length-1];
      if (args.length < 4) {
        consistency = null;
        if (typeof params === 'number') {
          consistency = params;
          params = null;
        }
      }
      if (args.length < 3) {
        params = null;
      }
    }
    args.query = query;
    args.options = options;
    args.params = params;
    args.consistency = consistency;
    args.callback = callback;
    return args;
  }
docs: Parses the arguments used by exec methods.
  Returns an array of parameters, containing also arguments as properties (query, params, consistency, options)