Stronger typing for search terms