Add Grid::width and Grid::height methods.