Allow functions to have "dynamic implementations", code that is generated during `Network.before_run` and has access to the `Group`.