Initialize pages.