Changes to the implementation of ItemEnumerator.
Fixed WebAgent