Refactor part of page.d
Define PageHeader