Better grid class name control