Fixed never setting classLoader to null.