anchor.diff:             hibernate_after = HibernateAfterTimeout},
       S = #state{state_data = {State,Data}},
       Debug_1 = ?sys_debug(Debug, Name, {enter,State}),
  -    loop_callback_mode(
  +    loop_state_callback(
         P, Debug_1, S, Q, {State,Data},
         %% Tunneling Actions through CallbackEvent here...
         %% Special path to go to action handling, after first
  
positive.code:       P, Debug, S, Q, State_Data,
        NextEventsR, Hibernate, TimeoutsR, Postpone,
        CallEnter, StateCall, Actions).
  
  %% Process the result from the state function
  %%
  
negative.code:       NextEventsR, Hibernate, TimeoutsR, Postpone,
        StateCall, CallbackEvent).
  %%
  loop_state_callback(
    #params{callback_mode = undefined, module = Module} = P,
    Debug, S, Q, State_Data,
    NextEventsR, Hibernate, TimeoutsR, Postpone,
    StateCall, CallbackEvent) ->
      %%
      %% Figure out the callback mode
      %%
      try Module:callback_mode() of
  	CallbackMode ->
  	    loop_callback_mode_result(
                P, Debug, S, Q, State_Data,
                NextEventsR, Hibernate, TimeoutsR, Postpone,
                StateCall, CallbackEvent,
                CallbackMode, listify(CallbackMode), undefined, false)
      catch
  	CallbackMode ->
  	    loop_callback_mode_result(
                P, Debug, S, Q, State_Data,
                NextEventsR, Hibernate, TimeoutsR, Postpone,
                StateCall, CallbackEvent,
                CallbackMode, listify(CallbackMode), undefined, false);
  	Class:Reason:Stacktrace ->
  	    terminate(
  	      Class, Reason, Stacktrace, P, Debug, S, Q)
      end;
  loop_state_callback(
    #params{callback_mode = CallbackMode, module = Module} = P,
    Debug, S, Q, {State,Data} = State_Data,
  