Refactoring of Relabeling.