[Olena-patches] 3082: Add a dispatch in from_to.