Fixed typo and included exceptions to the autoloader class