Add Grid class.