code: function(type) {
          var namespaces = emberA(Namespace.NAMESPACES), types = emberA(), self = this;
          var typeSuffixRegex = new RegExp(classify(type) + "$");
  
          namespaces.forEach(function(namespace) {
            if (namespace !== Ember) {
              for (var key in namespace) {
                if (!namespace.hasOwnProperty(key)) { continue; }
                if (typeSuffixRegex.test(key)) {
                  var klass = namespace[key];
                  if (typeOf(klass) === 'class') {
                    types.push(dasherize(key.replace(typeSuffixRegex, '')));
                  }
                }
              }
            }
          });
          return types;
        }
docs: Returns the available classes a given type.
  
  @method catalogEntriesByType
  @param {String} type The type. e.g. "model", "controller", "route"
  @return {Array} An array of strings.