code: function (component) {
      var callbacks = this.callbacks;
      if (component.beforeStep) {
        callbacks.beforeStep.splice(callbacks.beforeStep.indexOf(component), 1);
      }
      if (component.step) {
        callbacks.step.splice(callbacks.step.indexOf(component), 1);
      }
      if (component.afterStep) {
        callbacks.afterStep.splice(callbacks.afterStep.indexOf(component), 1);
      }
    }
docs: Removes a component instance from the system.
  @param {Component} component
  @param {string} phase