Fix missing $class-type

Cannot compile `v5.1.0` branch due to missing `$class-type` variable. Removed reference and replace with `.`.
Merge pull request #188 from esryl/patch-1

Fix missing $class-type in grids