Completed the proxy generator method.