Format headers.