Cleaning up the image cancellation mechanism.