Fix for autoloading not taking place when auto proxy generation is turned off.