Declared the different classes.