old_contents: import yaml
  from collections import OrderedDict
  
  
  def dump(data, stream = None, Dumper = yaml.SafeDumper, **kwds):
      class OrderedDumper(Dumper):
          pass
  
      def _dict_representer(dumper, data):
          return dumper.represent_mapping(
              yaml.resolver.BaseResolver.DEFAULT_MAPPING_TAG,
              data.items()
          )
  
      OrderedDumper.add_representer(OrderedDict, _dict_representer)
      return yaml.dump(data, stream, OrderedDumper, **kwds)
  
  
  def load(stream, Loader = yaml.SafeLoader, object_pairs_hook=OrderedDict):
      class OrderedLoader(Loader):
          pass
  
      def construct_mapping(loader, node):
          loader.flatten_mapping(node)
          return object_pairs_hook(loader.construct_pairs(node))
  
      OrderedLoader.add_constructor(
          yaml.resolver.BaseResolver.DEFAULT_MAPPING_TAG,
          construct_mapping
      )
      return yaml.load(stream, yaml.SafeLoader)
new_contents: import yaml
  from collections import OrderedDict
  
  
  def dump(data, stream = None, Dumper = yaml.SafeDumper, **kwds):
      class OrderedDumper(Dumper):
          pass
  
      def _dict_representer(dumper, data):
          return dumper.represent_mapping(
              yaml.resolver.BaseResolver.DEFAULT_MAPPING_TAG,
              data.items()
          )
  
      OrderedDumper.add_representer(OrderedDict, _dict_representer)
      return yaml.dump(data, stream, OrderedDumper, **kwds)
  
  """
  def load(stream, Loader = yaml.SafeLoader, object_pairs_hook=OrderedDict):
      class OrderedLoader(Loader):
          pass
  
      def construct_mapping(loader, node):
          loader.flatten_mapping(node)
          return object_pairs_hook(loader.construct_pairs(node))
  
      OrderedLoader.add_constructor(
          yaml.resolver.BaseResolver.DEFAULT_MAPPING_TAG,
          construct_mapping
      )
      return yaml.load(stream, yaml.SafeLoader)
  """
subject: remove load method which became obsolete