Refactor static pages.