add heritable class