Add search history support