Transaction refactoring also block and transaction xmles syncronization.