     :incomplete
   end
 
-  def parse_connection_resp(data, connection_op) do
-    parse_resp(connection_op, data, nil)
-  end
-
   @doc """
   Parses the response to a given operation.
 

  to determine the structure of the response. `schema` is passed down to the
  record deserialization (in case there are records) in order to decode possible
  property ids.
  """
  @spec parse_resp(atom, binary, Dict.t) ::
    {sid :: non_neg_integer, resp :: term, rest :: binary} | :incomplete
  def parse_resp(op_name, data, schema) do
    case parse_header(data) do
      :incomplete ->

            {sid, {:error, error}, rest}
        end
    end
  end

  @doc """
  Parses the response to a connection operation.

  Works very similarly to `parse_resp/3`.
  """
  @spec parse_connection_resp(binary, atom) ::
    :incomplete |
    {integer, {:ok, term} | {:error, term}, binary}
  def parse_connection_resp(data, connection_op) do
    parse_resp(connection_op, data, %{})
  end

  defp parse_header(@ok <> <<sid :: int, rest :: binary>>),
