Fixed typos in function call names.