def registerGoodClass(self, class_):
<EOL>self._valid_classes.append(class_)<EOL>for name, cls in class_members(class_):<EOL><INDENT>if self.isValidClass(cls):<EOL><INDENT>self.registerGoodClass(cls)<EOL><DEDENT><DEDENT>
Internal bookkeeping to handle nested classes