Add API doc for new hook.