Map function arguments dynamically, meant for plugins.