Polishes headers, removes footers