Nested classes follow the export specifiction of their outer class, which isn't what was intended here.