Add pub/sub example.