Legacy support for hooks.trigger