Minor changes to CustomSearch API code