Add support for util.XPIterator instances