       @stylesheets.push([stylesheetPath, loadStylesheet(stylesheetPath)])
 
   loadGrammars: ->
+    @grammars = []
     grammarsDirPath = fs.join(@path, 'grammars')
     for grammarPath in fs.list(grammarsDirPath, ['.cson', '.json']) ? []
-      grammarContent = fs.readObject(grammarPath)
-      grammar = new TextMateGrammar(grammarContent)
-      syntax.addGrammar(grammar)
+      @grammars.push(TextMateGrammar.loadSync(grammarPath))
 
   loadScopedProperties: ->
     scopedPropertiessDirPath = fs.join(@path, 'scoped-properties')

  metadata: null
  keymaps: null
  stylesheets: null
  mainModule: null
  deferActivation: false


  activate: ->
    keymap.add(map) for map in @keymaps
    applyStylesheet(path, content) for [path, content] in @stylesheets
    syntax.addGrammar(grammar) for grammar in @grammars

    if @deferActivation
      @subscribeToActivationEvents()
