The Model class can now read and write any images associated with it.