Updates for image optimization.