Added more functionality to the Sound class.