Added setVariable() that takes a QName as an Item.