Broke out Prox code to APIs