Webservice fixes and documentation.