       tokenView.setAttributes "data-key": tokenKey
       tokenView.emit "viewAppended"
       return tokenView.getElement().outerHTML
+
+  fillTokenMap = (tokens, map) ->
+    tokens.forEach (token) ->
+      map[token.getId()] = token

    options.type           or= "html"
    options.multiline       ?= yes
    options.placeholder    or= "What's new #{KD.whoami().profile.firstName}?"
    options.tokenViewClass or= TokenView
    options.rules  or=
      tag            :

        dataSource   : @bound "fetchTopics"

    super options, data
    @defaultTokens = options.defaultTokens

  fetchTopics: (inputValue, callback) ->
    KD.getSingleton("appManager").tell "Topics", "fetchTopics", {inputValue}, (tags = []) =>
