Remove deprecated method from examples