hide destructors of abstract classes as well as constructors