Refactor in transfer common framework.