Add some new helpers.
Rewrite autocomplete.