         cb = value
         value = key
         key = "."
-      @_doOperation({key:key, value:value, type: "put"}, opts, cb)
+      if cb then putAsync key, value, opts, callback else putSync key, value, opts
     ###TODO: del itself would destroy itself?  see: the post hook itself in init method.
       del itself:
       del(cb)

      opts.path = getPathArray opts.path, @_pathArray
      aDbCore.batchAsync ops, opts, callback
    batch: (ops, opts, cb) ->
      @_doOperation(ops, opts, cb)
    getSync: (key, opts) ->
      if isObject key
        opts = key

      for k of vSubkeys
        vSubkeys[k].free()
      return
    ###
      put it self:
        put(cb)
