undo(numUndos = 1, options = {}) {
    let state = this.get('_rootMachineState');
    let appliedRecords = [];

    if (this.get('canUndo')) {