BitmapGenerator replaced by three new classes.