Make pulseaudio wrapper behave more like an class.