Added dataIsChanged to Session, updated tests.