donb
committed
on 09 Jun 10
When instantiating and object of type object_type, make sure the object
we create is of type object_type.