Make class proxies work