Add code for bitmaps.