better namespacing of autocomplete function.