Cleans up section headers and fragment identifiers