Modify the header and footer.