Added ability to pass context object through transition.