Improve hooks documentation