Docs for hooks. Closes #77