Added page layout code.