Added redirection support to properly support clustering.