Portof the first two model classes.