Add an extension hook for customising site tree hints.