add a class handle inherit relation.

not test yet.