Add headers, footers and sections.