Add a parameter no_emit which signals certain functions called by Hook emissions NOT to execute.