Added adapters for model classes.