I think this typedef should be in TClass ...