Add docstrings to server functions