Refactor header into partial