Allow functions to be specified as lookup tables