Add ability to select the hook where the message will be displayed.