Fixed an incorrectly types function call.