Doc the server part.