Fix function documentation