code: function add(className) {
      if (typeof className === 'function') {
        className = className.name;
      }
  
      extractBits.DIRECT_TYPES.push(className);
    }
docs: Appends the supplied class name to the list of registered direct types. If
  a class or function is passed, rather than a String,
  
  @method DirectTypeManager#types
  
  @param {Function|string|RegExp} className the name of the class to append.
  Typically it is best to pass the name property of the class in question
  such as `RegExp.name` or `MyClass.name`.