Fix header generation for error handling properties