I would change `clazz` to `klass`. I think it's a common name for such variable :)