Add basic template and search functions.