move declaration of clazz statics to reflect build()