Changes the contents of the page.