remove needless constructor calls for base classes