Rename Repository#iter_hooks to Repository#hooks