Corrected typo in function definition.