Simplifying the Grid class.