anchor.diff:  handle_event({shutdown, Why}, _StateName, State) ->
   	{stop, Why, State};
   
  -handle_event(Event, Statename, State) ->
  +handle_event(_Event, Statename, State) ->
   	{next_state, Statename, State}.
   
   %% @private
  
positive.code: 	case decode_frames(Buffer, State) of
  		{ok, Frames, NewBuffer} ->
  			?MODULE:StateName({decoded_frames, Frames, NewBuffer}, State);
  		Error ->
  			{next_state, closed, State}
  	end;
  
  
negative.code: 	{next_state, active_once, State}.
  
  %% @private
  passive({recv, _Timeout}, _From, #state{frame_buffer = Frames} = State) when length(Frames) > 0 ->
  	[Frame | Tail] = Frames,
  	if
  		length(Tail) < State#state.max_frame_buffer ->
  