Slight refactoring.
Don't output static variables/inner types for generic subclasses.