Adding more detailed hook documentation [ci skip].