Fix typo in function definition.