def remove_interceptors # &do_autoload_block
      @autoloads_by_basename.each do |basename, entries|
        entries.each do |entry|
          mod = entry.mod_if_available
          next unless mod
          # Module's constants are shared with Object. But if you set autoloads directly on Module, they
          # appear on multiple classes. So just skip, Object will take care of those.
          next if mod == Module
          yield mod, entry.name, entry.target_path
        end
      end

      @autoloaded_paths = {}
      @interceptor_files_by_path = {}
    end
def remove_interceptors # &do_autoload_block
      @autoloads_by_basename.each do |basename, entries|
        entries.each do |entry|
          mod = entry.mod_if_available
          next unless mod
          # Module's constants are shared with Object. But if you set autoloads directly on Module, they
          # appear on multiple classes. So just skip, Object will take care of those.
          next if mod == Module
          yield mod, entry.name, entry.target_path
        end
      end

      @autoloaded_paths = {}
      @interceptor_files_by_path = {}
    end
We need to remove the interceptor hooks, otherwise, the problem if manually requiring
 something that is autoloaded will cause issues.