Added support for chords and harmonic functions.