The meaning of stateVersion often leads to a lot of confusion. This commit trys to improve that situation.