Use a flat array of function pointers