Add example using observe.