Started adding an image encoder