Enabling advanced autocompletion