Generalize the client side communication