       else
         dataOp = 'onGetCount'
     else if task.method is 'DELETE'
+      console.log "DataOp is Delete"
       if task.entityId?
         dataOp = 'onDeleteById'
       else if task.query?

      else
        dataOp = 'onDeleteAll'
    else
      return callback new Error "Cannot determine data operation"

    operationHandler = collectionToProcess.resolve dataOp

    if operationHandler instanceof Error
      return callback(convertToError operationHandler)

    # TODO Need to handle runtime errors/unhandled exceptions - or do we?
    taskDomain = domain.create()

    taskDomain.on 'error', (err) =>

        result.continue = true

        if result.statusCode >= 400
          console.log "About to parse error"
          convertToError result.body

        task.request = result
        console.log "About to process callback"
        responseCallback null, task

      methods =
