Improved construction of Proxy.