Make sure we return correct values on empty objects
Make sure classes for types with tablename collisions can actually be instantiated