Fix build and use getProxy()