Temp fix for WPF app.