anchor.diff:  %% @private
   -spec at_rest(any(), state()) -> {next_state, atom(), state()}.
   at_rest(timeout, State) ->
  -  case get_work(State) of
  -    no_work ->
  -      {next_state, at_rest, State};
  -    {ok, Work, NewState} ->
  -      ok = gen_fsm:send_event(self(), Work),
  -      {next_state, at_rest, NewState}
  -  end;
  +    case get_work(State) of
  +        no_work ->
  +            {next_state, at_rest, State};
  +        {ok, Work, NewState} ->
  +            ok = gen_fsm:send_event(self(), Work),
  +            {next_state, at_rest, NewState}
  +    end;
   at_rest({get_async, {HandleEvent, AsyncMode}, Args, From},
           State = #{pid := Pid}) ->
  -  StreamRef = do_http_verb(get, Pid, Args),
  -  CleanState = clean_state(State),
  -  NewState = CleanState#{
  -               from => From,
  -               pid => Pid,
  -               stream => StreamRef,
  -               handle_event => HandleEvent,
  -               async => true,
  -               async_mode => AsyncMode
  -              },
  -  {next_state, wait_response, NewState};
  +    StreamRef = do_http_verb(get, Pid, Args),
  +    CleanState = clean_state(State),
  +    NewState = CleanState#{
  +                 from => From,
  +                 pid => Pid,
  +                 stream => StreamRef,
  +                 handle_event => HandleEvent,
  +                 async => true,
  +                 async_mode => AsyncMode
  +                },
  +    {next_state, wait_response, NewState};
   at_rest({HttpVerb, Args, From}, State = #{pid := Pid}) ->
  -  StreamRef = do_http_verb(HttpVerb, Pid, Args),
  -  CleanState = clean_state(State),
  -  NewState = CleanState#{
  -               pid => Pid,
  -               stream => StreamRef,
  -               from => From
  -              },
  -  {next_state, wait_response, NewState}.
  +    StreamRef = do_http_verb(HttpVerb, Pid, Args),
  +    CleanState = clean_state(State),
  +    NewState = CleanState#{
  +                 pid => Pid,
  +                 stream => StreamRef,
  +                 from => From
  +                },
  +    {next_state, wait_response, NewState}.
   
   -spec at_rest(term(), pid(), term()) -> term().
   at_rest(Event, From, State) ->
  -  enqueue_work_or_stop(at_rest, Event, From, State).
  +    enqueue_work_or_stop(at_rest, Event, From, State).
   
   %% @private
   -spec wait_response(term(), pid(), term()) -> term().
   wait_response(Event, From, State) ->
  -  enqueue_work_or_stop(wait_response, Event, From, State).
  +    enqueue_work_or_stop(wait_response, Event, From, State).
   
   %% @private
   -spec wait_response(term(), term()) -> term().
  
positive.code: %% @private
  -spec receive_data(term(), pid(), term()) -> term().
  receive_data(Event, From, State) ->
    enqueue_work_or_stop(receive_data, Event, From, State).
  
  %% @private
  %% @doc Regular response
  
negative.code: %% @private
  -spec receive_chunk(term(), pid(), term()) -> term().
  receive_chunk(Event, From, State) ->
      enqueue_work_or_stop(receive_chunk, Event, From, State).
  
  %% @private
  %% @doc Chunked data response
  