Add and update examples to match new API.