Added back functionality to play tones.