Set function table

Someone forgot to actually _set_ the function table.
Merge pull request #437 from neithernut/fix-use_function_table

Set function table