Added equality check to Image and Object