Fix for autoloading - fixes problems with using different autoloaders