Refactor the Page object.