Fixed issue that made Proxies extract the wrong name from proxied classes