add API model classes.