Fix wrong function call in examples.