Add helper routine to manage duplicate headers.