Made event_hook() declaration the same as in s9y core