Added req.flash() support.