Updated to new proxy api.