       record.bibtex = bibtex
       record.lastaccess = Date.now()
       @cache.insert(record)
-    Zotero.BetterBibTeX.debug('cache', (if cached then 'replace' else 'insert'), 'for', Zotero.BetterBibTeX.log.object(record))
+    Zotero.BetterBibTeX.debug('cache.store', (if cached then 'replace' else 'insert'), 'for', Zotero.BetterBibTeX.log.object(record))
 
 Zotero.BetterBibTeX.auto = new class
   constructor: ->

    return _v

  load: ->
    if Zotero.BetterBibTeX.pref.get('cacheReset')
      @reset()
      Zotero.BetterBibTeX.pref.set('cacheReset', false)


  remove: (what) ->
    what.itemID = @integer(what.itemID) unless what.itemID == undefined
    Zotero.BetterBibTeX.debug('cache.remove', what)
    @cache.removeWhere(what)

  reset: ->
