Written several validators, started rewriting code to use DiaClassRef.