Implemented queue enumerator.