Added log and rpc examples.