     else
       callback('options must be specfied for find', null, 0) if callback
       return
-    
+
     skipFrom = page * max - max
 
     if max < 1

  update: update
  destroy: destroy
  name: Resource.modelName
  count: count
          Resource.remove {_id: resource._id, systemId: systemId}, callback
        else
          callback null

  find: find
  findById: findById
  findOne: findOne
