Add docstring for TagHookHandler