Adds new method for setting a redirect destination.