Support services in the code emitter, and add a basic example to the generated test clients.