Added checks on data supplied to EntryHeader constructor.