A small example update to reflect recent API changes.