Make return message for OnHost typed