You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: lookup.rb
    path of file: ./repos/nii/nii-core/lib/nii
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Nii
  module Lookup
    # @api internal
    LOADERS = {}

    autoload :Cascade,    'nii/lookup/cascade'
    autoload :Common,     'nii/lookup/common'
    autoload :Default,    'nii/lookup/default'
    autoload :FileCache,  'nii/lookup/file_cache'
    a
    
    def self.new(*arguments, &block)
      return arguments.to_nii_lookup if arguments.first.respond_to? :to_nii_lookup
      config, paths = Config.extract(arguments)
      loader        = config.template_loader || :default
      loader        = self[loader] unless loader.respond_to? :new
      loader        = loader.new(config, &block)
      loader.load_path.concat(paths) if paths.any?
      loader
    end