DOC: Update example to reflect renamed function names