public function fetch($deviceUUID, $sessionId, $queue = 'main', array $options = array())
  {
    // @throws InvalidArgumentException
    $this->checkArgument($deviceUUID, 'deviceUUID');
    $this->checkArgument($sessionId, 'sessionId');
    $this->checkArgument($queue, 'queue');

    $options = array_merge($options, [
      'headers' => $this->buildHeaders($deviceUUID),
      'raw' => true
    ]);
    list($code, $root) = $this->httpClient->get("/sync/{$sessionId}/queues/{$queue}", null, $options);

    if ($code == 204) return [];
    return $root['items'];
  }