Fix typing issues with WinJS.Application event callbacks.