Proper ref to global hooks