previous commit: Updated models.py API and updated example.py to match
modifications.