Add base classes.