Added flash class helpers