 ###
 heartbeatKites = (interval = HEARTBEAT_INTERVAL, callback = kd.noop) ->
 
-  { router, computeController } = kd.singletons
+  { router } = kd.singletons
 
   beatCount  = 0
   oldKites   = {}

      unless newKite
        return

      createMachine newKite, (err, machine) ->
        return kallback err  if err

        # Route to the IDE
        kd.utils.defer -> router.handleRoute "/IDE/#{machine.slug}"

        # Get the klient kite, and the info from that klient so we
        # can popup a Provider specific modal
        # TODO: Is there a better way to get the klient kite?
        klient = computeController.machinesById[machine._id].getBaseKite()
        klient.klientInfo().nodeify kallback

    queryPromise.catch (err) ->

kd      = require 'kd'
nick    = require 'app/util/nick'
Machine = require '../machine'


# The maximum number of heartbeat attempts when looking for
