   @spec delete_items([Item.t]) :: :ok
   def delete_items(items) do
     body = Poison.encode!(Enum.map(items, &Item.format_stream_id/1))
-    case request!(:delete, "/streams", body) do
+    case request!(:delete, "/streams", body, [], hackney: [pool: :roshi]) do
       %{status_code: 200} -> :ok
     end
   end

  def get_coalesced_stream(keys, pagination_slug, limit) do
    params = [{"limit", limit}, {"from", pagination_slug}]
    body = Poison.encode!(%{streams: Enum.map(keys, &Item.format_stream_id/1)})
    case post!("/streams/coalesce", body, [], [params: params]) do
      %{status_code: 200, body: "[]"} -> %{items: [], next_link: pagination_slug}
      %{status_code: 200, body: resp, headers: headers} ->
        %{items: Poison.decode!(resp, as: [%Item{}]), next_link: next_link(headers)}

  @spec add_items([Item.t]) :: :ok
  def add_items(items) do
    body = Poison.encode!(Enum.map(items, &Item.format_stream_id/1))
    case put!("/streams", body, [], hackney: [pool: :roshi]) do
      %{status_code: 201} -> :ok
    end
  end
