findByName: function(name) {
    if (!this._widgetTypesByName[name]) {
      throw('Could not find widget type with name "' + name +'"');
    }