typed flash messages support