Add internal functions to search for alternate doc types