Modify several codes.