Update examples to use new method signatures