Restructured imports in models.py.