Improved hook documentation.