First version of autocompletion plugin