Remove Ruby 2.0 warning. Use `to_enum` instead of `Enumerator.new` without a block.