extend hook.rst