Allow digits and underscores in define_{klass}_group