Extract missing prototypes
Add callbacks to function table