Added ability to destory the proxy.