Add flashes and alerts.