Emit headers from reference set if not already emitted