Renamed linkTo/redirectTo to linkToPath/redirectToPath but keept backward compatibility