TCharm & AMPI: Adapt to automatic pup of base class