Remove unnecessary extends in the grid component