ORM extension.