I have class hierarchy A <- B <- C. I don\'t want class A to be aware of C, so I intend to use A.type="B" to indicate it to be class B, and then B.type2=&quo