Remove redirect code.