register deftypes during analysis
delegate class validation in the validate pass
validate class only on the first pass