Fix client documentation

fixes #670