Hooking library