Updated code examples to match new example app.