Add main classes.