Repairs to image generation.