Correct type handling when sending with TPL callback handler.