loadNecessaryClasses completes with empty classes