Check is_object before passing into get_class - fixes #3
Merge pull request #4 from jb510/master

Check is_object before passing into get_class - fixes #3