           return callback new KodingError "Target not found."
 
         { models } = result
-        target = models[0]
+        [ target ] = models
 
         if target instanceof JUser
           target.fetchOwnAccount (err, account)=>

      instance        :
        delete        :
          (signature Function)
        share         :
          (signature Object, Function)
        # withold       :
        #   (signature Object, Function)
        # update        :
        #   (signature Object, Function)



    success: (client, options, callback)->

      {target, user, owner} = options
      user ?= yes

      setPermissionFor = (target, callback)=>

        Relationship.remove {
          targetId : @getId()
          sourceId : target.getId()
        }, (err)=>

          if user
            as = if owner then 'owner' else 'user'
            target.addCredential this, { as }, (err)-> callback err
          else
            callback err

      JName.fetchModels target, (err, result)=>

