get_hooks is a function, not a property