Fixed misnamed function calls.