PJ: fix prototypes for grid.