code: function(intent, isIntermediate) {
          try {
            return getTransitionByIntent.apply(this, arguments);
          } catch(e) {
            return new Transition(this, intent, null, e);
          }
        }
docs: NOTE: this doesn't really belong here, but here it shall remain until our ES6 transpiler can handle cyclical deps.