Added a return type to the autoloader