anchor.diff:      end.
   -spec set_cache(map()) -> {ok, map()}.
   set_cache(Data) ->
  -    lager:debug("Entry"),
  -    SearchKey = nebula2_utils:make_search_key(Data),
  -    ObjectId = nebula2_utils:get_value(<<"objectID">>, Data),
  +    ?nebMsg("Entry"),
  +    SearchKey = make_search_key(Data),
  +    ObjectId = get_value(<<"objectID">>, Data),
       mcd:set(?MEMCACHE, ObjectId, Data, ?MEMCACHE_EXPIRY),
       mcd:set(?MEMCACHE, SearchKey, Data, ?MEMCACHE_EXPIRY).
   
  
positive.code:             end
      end.
  
  -spec nebula2_utils:create_object({pid(), map()}, object_type(), list() | binary(), map()) ->
            {boolean(), map()}.
  create_object(State, ObjectType, DomainName, Body) when is_list(DomainName)->
      create_object(State, ObjectType, list_to_binary(DomainName), Body);
  create_object(State, ObjectType, DomainName, Body) when is_binary(DomainName)->
      lager:debug("Entry"),
      {Pid, EnvMap} = State,
      Path = binary_to_list(nebula2_utils:get_value(<<"path">>, EnvMap)),
      case nebula2_utils:get_object_oid(nebula2_utils:get_parent_uri(Path), State) of
          {ok, ParentId} ->
              {ok, Parent} = nebula2_db:read(Pid, ParentId),
              create_object(State, ObjectType, DomainName, Parent, Body);
  
negative.code: %% @doc Get the object name.
  -spec get_object_name(list(), string()) -> string().
  get_object_name(Parts, Path) ->
      ?nebMsg("Entry"),
      case Parts of
          [] ->
              "/";
  