Make a little optimization for client server communication.