use class method version of get_hook

instance method version was removed