Prefer `inject` over `reduce`.