Added classes related to masses that are represented by images.