Changed the way pages are rendered.