       requests,
       sendPerformanceData,
       flush,
+      setOptions,
       history: HISTORY,
       active: ACTIVE,
       enableAjaxMonitoring: ->

    # points coming in.

    clearTimeout sendTimeout
    sendTimeout = setTimeout flush, AGGREGATION_INTERVAL

    unless maxTimeout?
      maxTimeout = setTimeout flush, MAX_INTERVAL

  sendQueue = ->
    if DISABLED
      console.log "Would send bucky queue"
      return


  updateLatency = (time) ->
    currentLatency = time

    if options.sendLatency and not latencySent
      enqueue 'bucky.latency', time, 'timer'

      latencySent = true
