Make example compatible with recent changes.