Component = function () {};

_.extend(Component.prototype, {
  _verifyData: function (data) {
    check(data, Match.ObjectIncluding(this.dataTypes));
  },

  _onDataChange: function (component) {
    var view, dataVar, data;
    view = Blaze.getView('with');
    if (!view) return;

    dataVar = view.dataVar;
    if (!dataVar) return;

    data = dataVar.get();
    if (typeof data !== 'object') return;

    _.defaults(data, component._defaultData);
    Blazer.isDev && component._verifyData();
  },

  data: function () { return Template.instance().data; },

  context: function () { return Template.currentData(); },

  view: function () { return Blaze.currentView; },

  state: function () {
    this._stateDep.depend();
    return this._state.get();
  },

  setState: function (partialState, callback) {
    var self = this;

    partialState && Tracker.afterFlush(function () {
      var newState;
      if (typeof partialState === 'object') newState = partialState;
      else if (typeof partialState === 'function')
        newState = partialState(self._state.get(), self.instance.data);

      if (!newState) return;

      self._state.set(newState);
      callback && Tracker.afterFlush(callback);
    });
  },

  replaceState: function (newState, callback) {
    var self = this;
    typeof newState === 'object' && Tracker.afterFlush(function () {
      self._state.set(newState);
      callback && Tracker.afterFlush(callback);
    });
  },

  forceUpdate: function () { this._stateDep.changed(); }
});

// Add convenience methods
_.each(
  [
    'findAll', '$', 'find', 'firstNode', 'lastNode', 'autorun', 'subscribe'
  ],
  function (k) {
    Component.prototype[k] = function () {
      return this.instance[k].apply(this.instance, arguments);
    }
  }
);

@@ -90,16 +90,34 @@
 a) %7B%0A   
+ this.dataTypes &&
  check(d
@@ -506,16 +506,20 @@
 ifyData(
+data
 );%0A  %7D,%0A

Fix dataType verification