code: def register(cls):
          
          if not cls.IS_LOADED:
              cls.IS_LOADED = True
  
              yaml.add_constructor('!param', Parameter.parameter_constructor, Loader=yaml.SafeLoader)
              yaml.add_constructor('!env', EnvironmentVariable.parameter_constructor, Loader=yaml.SafeLoader)
docs: Register variable handling in YAML