Some changes towards mvcc implementation.