Add more types to ClassLoader.ts.

Also remove unnecessary return from _parallel_class_resolve.