Changing loop on @headers to a single line.