Small improvement to the grid feature.