This is clever, but not entirely helpful -- the result is a partial, not a new class definition. isinstance(Debug) for example, won't work.