Refactors header into partial