Integrating interfaces into BitmapSource.