Remove unneeded headers.