Changed class to clazz (avoid using the reserved keyword)