Simplified ClassSpecRegistry & AnnBuilder.