Fix typo in global class (no more inheritance)