Fix function names in docs