Set function table

Someone forgot to actually _set_ the function table.