User class with nested classes.