Refactors out all the headers from page layouts