Every fact situation is unique, but it would be preferable to have a clear anti-avoidance rule. There is one in the bill for spending, but there isn't one on the contribution side and on the funding side.
Evidence of meeting #106 for Procedure and House Affairs in the 42nd Parliament, 1st Session. (The original version is on Parliament’s site, as are the minutes.) The winning word was elections.
A video is available from Parliament.