Update examples in README (removing deprecated method signatures).