Rename function names in example