Autoloader function was refactored