+1 for this. I’ve made a few attempts at this for my universal search hack, but nothing very elegant.