More robust hook documentation retrieval strategy.