Give names to intermediate classes.