AddHook() states to return an THook object which you can use to delete it later on.
Either add a return t to this function and a new param "hookObject:THook=Null" to RemoveHook() or adjust the documentation (or even add an RemoveHookInstance(hook:THook) to avoid the chain of parameters (in NG we could use overloaded functions).