Made the autoloader more friendly for other libraries.