Fixed a bug in the autoloader, added a new function