docs: function(name, type) {
          type = type || 'Module';
          if (typeof name === 'string') {
              name = name.replace(/\-([a-zA-Z0-9])/, function(match, ref) {
                  return ref.toUpperCase();
              })
                  .replace(new RegExp('$|' + type + '$', 'i'), type);
          }
          return name;
      }