Adds flashed messages.