Rewrite docs for new hook