Refactoring static pages for cleaner code.