Extract showGrid method and rename model method