Make it possible to set a Header.Optional
WIP on versioning
Use hard-coded constants for the costs, for a 25% decrease in runtime.