I had no idea this was so expensive--thanks for the insight. Ironically I'd put it on the server as a perf optimization to avoid sending down the function code when it isn't needed. 

If it's the case that the server can't fully compute whether the function is out of sync then it will need to either (a) *always* send down the code for the current function (in case the client needs it), or (b) we'll need to set up a way for the client to ask for the code later if it determines that the function is out of sync. We'll discuss later.