Implement Enumerator#with_object