Better API for object proxies