Fix the function documentation