docs: def augment(cls):
          """Augment the class with computed formats, regexes, and other things. This caches these values so
          they don't have to be created for every instance. """
  
          import re
  
          level_name = cls.__name__.lower()
  
          cls.sl = names[level_name]
  
          cls.class_map[cls.__name__.lower()] = cls
  
          cls.sl_map[cls.sl] = cls
  
          cls.fmt = cls.make_format_string(cls.__name__.lower())
  
          cls.regex_str = cls.make_regex(cls.__name__.lower())
          cls.regex = re.compile(cls.regex_str)
  
          # List of field names
          cls.level = level_name
          cls.fields = segments[cls.sl]