More efficient autoloader implementation