Add some methods to the image behavior