Refactored to provide a name for the proxy for debugging.