Document hooks. Revise Cookiecutter API section.