Utility classes for WPF