Fixes typo in function definition.