Changed to allow typed ping.
Added Async.thunk and Async.onMain.