Added docstrings to server.