Improve headers at beginning of document