Nested classes support