Updated PageModule to use OutputCapture