Write the section header in the end.