Webservices: refactored (unused imports, deprecated types, comments)