Add apiType to all generated classes.