Converting examples to new async interfaces