Adding explicit support for object to complex value conversion.