Type convertion to adapt with new destination property of direction module