Conditionally enable key header support.