Restore indentation and textwrap.dedent() call
TypeError for isinstance() failure