Corrected the hooks documentation