 
   # cache keys array, helpful for length and such, we'll use it to validate
   # proper cache objects later on
+  
   keys = Object.keys req.body
 
   # if the bodyParser has an object, we're going to create a schema


  # uses `Schema` extension, wee.
  if req.body? and keys.length > 0
    body = new Schema req.body
      # stale: 1000 * 60 * 60 # defaulted settings
      # store: req.url # defaulted settings


ds = null
# crudify switch, will handle all acceptable routes and pass json errors
# on unsupported request methods.
crudify = (store, req, cache, fn) ->

  ds = new extendify store
  Schema = ds.Schema
