         if @currentPath
           setTimeout @go
 
-  setStatus: (@status) => null
+  setStatus: (@status) =>
+    if window?
+      throw new Error 'z.server.setStatus() called client-side'
+    null
+
+  getReq: =>
+    if window?
+      throw new Error 'z.server.getReq() called client-side'
+    @req
 
   factoryToMiddleware: (factory) =>
     handleRenderError = (err, req, res, next) =>

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


    @animationRequestId = null
    @$root = null
    @status = null # server only
    @req = null # server only

    # coffeelint: disable=missing_fat_arrows
    @Redirect = ({path}) ->
