add cgClass.autocomplete API