code: def fix_pickle(self):
          
          from coconut import __coconut__  # this is expensive, so only do it here
          for var in self.vars:
              if not var.startswith("__") and var in dir(__coconut__):
                  self.vars[var] = getattr(__coconut__, var)
docs: Fix pickling of Coconut header objects.