Something like that. The function is not specific to template locator.