Adding documentation for hook promises.