Updated callback names in example snippet.