Updated to wrap all requests in a definite pipeline