Close #304 - Fixed a bug where events would never be registered when using only `hooks.php` with one connection/stage