Implement PATH searching.