Refactoring chords.