 
 
     getAllKernelSpecs: ->
-        kernelSpecs = _.map @parseKernelSpecSettings(), 'spec'
-        return kernelSpecs
+        return _.clone @_kernelSpecs
 
 
     getAllKernelSpecsFor: (language) ->

        kernelSpecs = @parseKernelSpecSettings()
        _.assign kernelSpecs, newKernelSpecs

        Config.setJson 'kernelspec', kernelspecs: kernelSpecs

        message = 'Hydrogen Kernels updated:'
        options = detail: (_.map kernelSpecs, 'spec.display_name').join('\n')
        atom.notifications.addInfo message, options



class KernelManager
    constructor: ->
        @_runningKernels = {}
        @_kernelSpecs = []


    destroy: ->
