Added typedef in the base class