Fix typo on some function names.