warnings suppressed for deeply nested classes