Note version added for on_failure and on_redirect.

Resolve #1359 by adding missing documentation.