Centralize the common header setting when possible