   loadStylesheets: ->
     @stylesheets = @getStylesheetPaths().map (stylesheetPath) -> [stylesheetPath, loadStylesheet(stylesheetPath)]
 
+  getStylesheetsPath: ->
+    path.join(@path, 'stylesheets')
+
   getStylesheetPaths: ->
-    stylesheetDirPath = path.join(@path, 'stylesheets')
+    stylesheetDirPath = @getStylesheetsPath()
     if @metadata.stylesheets
       @metadata.stylesheets.map (name) -> fsUtils.resolve(stylesheetDirPath, name, ['css', 'less', ''])
     else

    @deactivateResources()
    @deactivateConfig()
    @mainModule?.deactivate?() if @mainActivated

  deactivateConfig: ->
    @mainModule?.deactivateConfig?()

_ = require 'underscore'
$ = require 'jquery'
CSON = require 'season'
EventEmitter = require 'event-emitter'

### Internal: Loads and resolves packages. ###

module.exports =
class AtomPackage extends Package
  _.extend @prototype, EventEmitter

  metadata: null
  keymaps: null
  stylesheets: null
