Add support for flash messages.