Why not simplify this by having the 2-arity version call the 3-arity version with the third argument of `undefined`.