Remove warnings about nonlocal images.