Fix typos in function declarations.