Fix function names in doc.