Ported to WinRT.