Consider verifying existence of this `header.value()` method before printing it out, then emit a clear error (or warning?) if not present - will be easier to read than just informing the user that a compile error has occured in generated code.