anchor.diff:  
   %% add new instance.
   %% returns name
  -new_instance(Type) -> "NAME_OF_CHAR".
  +new_instance(Type) ->
  +	Script = get_script(Type),
  +	Name = gen_name(Type),
  +	start_new_instance(Name, Script),
  +	Name.
   
   %% add or update lua script with ai type name.
   %% returns ok or ng
  
positive.code:     PrefList = riak_core_apl:get_primary_apl(DocIdx, 1, rc),
      [{IndexNode, _Type}] = PrefList,
  	riak_core_vnode_master:sync_command(IndexNode, {lookup, Name}, rc_vnode_master).
  
negative.code: start_watch(Dest) ->ng.
  stop_watch(Dest) ->ng.
  
  %% prepare blackboard
  start_blackboard(BBName) -> ng.
  clear_blackboard(BBName) -> ng.
  