Remove undefined args before calling the wrapped function.

I think this leads to slightly cleaner call sites (empirically, so far) but
further restricts generality. Subject to change... Keeping notes on what kinds
of functions we're wrapping for now.