Added support for object ensuring