Added route passing functionality.