Remove WPF specific stuff