Added flash messaging support