support myMod.invoke. closes #35