Allow flash header to be set prior to redirecting the user or rendering the view.