add synchronisation to ClassLoader.