code: function apply(instance, options) {
    var config = new Config(options, StateMachine);
    build(instance, config);
    instance._fsm();
    return instance;
  }
docs: -------------------------------------------------------------------------------------------------