Fix incorrect function names.