Iterate over all derived classes (object.__subclasses__() only gives direct ones)