Cache classLoader to reduce expensive calls to class.getClassLoader()