Only wrap View classes if they've actually classes.

This should resolve #6 by making sure that fun.view_class is a type that we can create an instance of.