Issue #1962358 by penyaskito: Convert token/autocomplete to a controller.