The `_.invoke()` implementation is also used in the `_.method()` and `_.methodOf()` doc entries. Updates to `_.invoke()` code should be copied over to these other places.
