Now the global message accept additional class as the first parameter