Is it possible for an extension to register a hook. AFAICT hooks and extensions are separate. There is wrapcommand and wrapfunction but I didn't find a registerhook. In my testing all I ended up doing was calling the hook in setupui etc. Tory