add some Grid class prototypes