Load a function into a function struct, todo to do stuff with it.