Base classes.