Add POD and cleanup for class_grid_columns function.
Move call to resultset method inside foreign_type condition.
Add missing field view for char data type.