ENH: Allow keyword arguments in auto-converted ma functions.

Fixes #4582.