Nested comparable classes.