Allow proxy to be passed as a param