Add proper behaviour for invalid guids
Add some preliminary midgard_object_class support