The S4 class for storing models.