autoloader improvements