Updated the image classes to support chaining methods.