Add validation of header.