Initial search functions.