Add code at server.

Add code at server.