All examples compile and use the new api