Prefer `each_with_object` over `tap`