$session->insertElement( $object, $relation, @item[s] );

The insertElement() function inserts one or more elements into an object relationship.

It is suggested that the insertElement() feature of the InCharge::object module be used instead, as shown.

 $obj->insertElement( $relation, @item[s] );