public function getList($filter = null, $state = null, $labels = null, $sort = null, $direction = null, \DateTime $since = null, $page = 0,
		$limit = 0
	)
	{
		// Build the request path.
		$uri = new Uri($this->fetchUrl('/issues', $page, $limit));

		if ($filter)
		{
			$uri->setVar('filter', $filter);
		}

		if ($state)
		{
			$uri->setVar('state', $state);
		}

		if ($labels)
		{
			$uri->setVar('labels', $labels);
		}

		if ($sort)
		{
			$uri->setVar('sort', $sort);
		}

		if ($direction)
		{
			$uri->setVar('direction', $direction);
		}

		if ($since)
		{
			$uri->setVar('since', $since->format(\DateTime::ISO8601));
		}

		// Send the request.
		return $this->processResponse($this->client->get($uri));
	}