Exclude on_ready and on_output hooks.