Added hooks documentation