Improve documentation to fix function name typo.