Adds policy for passing back flash messages.