Add parentheses around the deprecation warning in the image rep.