Modify header and footer.