Global refactoring vause the implementation of autoload functionality