Reusable Web service stuff.