Fix issue where the session instance of the Flow model was not in scope
when accessed from the initializer, resulting in a
ThreadLocalNotInitialized runtime exception.
milestone