wrap the Image class properly