Correcting errors in function documentation.