Finalize client facade and add an PubSub example.