Finished all redirect code.