[DEV-1965] Use ORM calls over imported models.