Prerequisite for top layer refactor. FunctionRef is a generic callable type that can be initialized from any compatible callable, suitable for use as a function argument for the duration of the function call (and no longer).