Allow 404 handler to accept root context