Functions to work with major and minor scales.