Built some base classes.