Clean header and footer.