anchor.diff:              if
                   OwnerId == ?FREE_BUCKET_MARKER andalso
                   BucketOp == create ->
  -                    true;
  +                    {true, BucketObj};
                   OwnerId == ?FREE_BUCKET_MARKER andalso
                   (BucketOp == delete
                    orelse
  
positive.code:             %% Buckets operations can only be completed if the bucket exists
              %% and the requesting party owns the bucket.
              case bucket_available(Bucket, OwnerId, BucketOp, RiakPid) of
                  true ->
                      case BucketOp of
                          create ->
                              Value = OwnerId;
  
negative.code:     end.
  
  %% @doc Store a new bucket in Riak
  -spec put_bucket(term(), binary(), acl_v1(), pid()) -> ok | {error, term()}.
  put_bucket(BucketObj, OwnerId, Acl, RiakPid) ->
      MetaData  = dict:from_list(
                    [{?MD_USERMETA, [{?MD_ACL, term_to_binary(Acl)}]}]),
      UpdBucketObj0 = riakc_obj:update_value(BucketObj, OwnerId),
      UpdBucketObj = riakc_obj:update_metadata(UpdBucketObj0, MetaData),
      riakc_pb_socket:put(RiakPid, UpdBucketObj).
  
  %% @doc Store an object in Riak
  -spec put_object(binary(), binary(), binary(), [term()]) -> ok.
  