This was causing problems where GUI would report errors related to name.
Passing instance rather than class was common problem in OpenMDAO code, even in documentation => will probably cause pain for users as well.
Slot() raises TypeError if the klass argument is not a Class or Inter…
Fix Slot() usage in documentation.
Merge pull request #981 from setowns1/bug
Slot() now checks that klass arg is class or Interface