added compatibility for webservice