Finalizing headers