Added example with redirect.