Update hooks documentation. Fixes #4.