Fix messages declaration in pivotgrid