tour/basics: Fix a couple of examples broken by API changes.