Implemented some model classes.