Substitutes the require by an autoloader.