anchor.diff:           get_active_manifest/1,
            add_new_manifest/2,
            update_manifest/2,
  -         update_manifest_with_confirmation/2]).
  +         update_manifest_with_confirmation/2,
  +         stop/1]).
   
   %% gen_fsm callbacks
   -export([init/1,
  
positive.code: %% @spec terminate(Reason, StateName, State) -> void()
  %% @end
  %%--------------------------------------------------------------------
  terminate(_Reason, _StateName, _State) ->
      ok.
  
  %%--------------------------------------------------------------------
  
negative.code: 
  update_manifest_with_confirmation(Pid, Manifest) ->
      gen_fsm:sync_send_event(Pid, {update_manifest_with_confirmation, Manifest}).
  
  stop(Pid) ->
      gen_fsm:sync_send_all_state_event(Pid, stop).
  
  %%%===================================================================
  %%% gen_fsm callbacks
  