Added Callback interface and asBitmap method