Correct function documentation