Use DSL to generate the autocompletion.