Add check for object
Merge pull request #16 from craigtaub/FixBaseModel

Fix error on Base Model `get_object_vars()`