Fixed missing api stub for autocomplete specs.