Rename Apply() to __Apply()
Merge pull request #3476 from ke-yu/fix_testcase

Fix broken test case TestFunctionObjectInApply