Made proxies write thread-safe