Get rid of errorRedirectTo() method calls.