Reconstructed the header.