Fix examples because of recent changes