assign nested classes in parent class, not enclosing module