api now part of autocomplete package