``doInvoke`` is not a good name, because it doesn't explain how it differs from simple ``invoke``. Rename it to ``addFunctionToSelectedOwner`` or something like that.