Add support for grid definition template 1.