   o =
     currentFile:    obj.currentFile
     search:         obj.search
-    storagePath:    obj.storagePath
     collectionName: obj.collectionName
     downloadRoute:  obj.downloadRoute
     chunkSize:      obj.chunkSize
     debug:          obj.debug
     _prefix:        obj._prefix
-    cacheControl:   obj.cacheControl
-    versions:       obj.versions
   return o
 
 ###

        check inst, Object
        console.info '[FilesCollection] [Unlink Method]' if self.debug
        if self.allowClientCode
          self.remove.call cp(_insts[inst._prefix], inst), inst.search
        else
          throw new Meteor.Error 401, '[FilesCollection] [remove] Run code from client is not allowed!'

      _methods[self.methodNames.MeteorFileWrite] = (opts) ->
        @unblock()

      check @cacheControl, String
      check @onAfterUpload, Match.OneOf false, Function
      check @integrityCheck, Boolean
      check @onBeforeRemove, Match.OneOf false, Function
      check @downloadCallback, Match.OneOf false, Function
      check @interceptDownload, Match.OneOf false, Function

