Add support for services that run partially on the server and partially on the client