[FIX] Context object in ORM functions