Fixed an issue where a wrong classloader could be used for making proxies