load autoloaded classes before threading.