Moving header tag generation to a single place.