anchor.diff:  		{state, HandlerState}
   	]}).
   
  -terminate(Req, #state{env=Env, handler=Handler, handler_state=HandlerState}) ->
  +terminate(Req, #state{handler=Handler, handler_state=HandlerState}) ->
   	Result = cowboy_handler:terminate(normal, Req, HandlerState, Handler),
  -	{ok, Req, [{result, Result}|Env]}.
  +	{ok, Req, Result}.
  
positive.code: 
  -spec upgrade(Req, Env, module(), any(), infinity, run)
  	-> {ok, Req, Env} when Req::cowboy_req:req(), Env::cowboy_middleware:env().
  upgrade(Req, Env, Handler, HandlerState, infinity, run) ->
  	Method = cowboy_req:method(Req),
  	service_available(Req, #state{env=Env, method=Method,
  		handler=Handler, handler_state=HandlerState}).
  
  service_available(Req, State) ->
  	expect(Req, State, service_available, true, fun known_methods/2, 503).
  
negative.code: %% End of REST callbacks. Whew!
  
  -record(state, {
  	method = undefined :: binary(),
  
  	%% Handler.
  