Add the "customizeSearch" hook (see #5223)