code: function(name /*:String*/, unregisterPrototype /*:Boolean*/) /*:Void*/{
                  
              //see if the method has been registered
              if (lang.isFunction(container[name])){
              
                  //check to see if you should unregister the prototype
                  if (unregisterPrototype){
                      this.unregisterObject(name + ".prototype", container[name].prototype);
                  }
                      
                  //get original data
                  var owner /*:Object*/ = container[name].__yuiOwner,
                      funcName /*:String*/ = container[name].__yuiFuncName;
                      
                  //delete extra information
                  delete container[name].__yuiOwner;
                  delete container[name].__yuiFuncName;
                  
                  //replace instrumented function
                  owner[funcName] = container[name];
                  
                  //delete supporting information
                  delete container[name];          
              }
                  
          
          }
docs: Removes function from profiling. Reverses the registerFunction() method.
  @param {String} name The full name of the function including namespacing. This
  is the name of the function that is stored in the report.
  @return {Void}
  @method unregisterFunction
  @static