     @animationRequestId = null
     @$root = null
     @status = null # server only
+    @req = null # server only
 
     # coffeelint: disable=missing_fat_arrows
     @Redirect = ({path}) ->


  on: (name, fn) =>
    unless window?
      throw new Error 'z.server.on() called from node'

    (@events[name] = @events[name] or []).push(fn)


    (req, res, next) =>
      # Reset state between requests
      @setStatus 200
      @req = req
      cookies._reset()
      StateFactory.reset()

